<?php

//generate command npm run docs:build && npm run docs:preview

$command = "npm run docs:build && npm run docs:preview";

$output = shell_exec($command);